package com.jlpay.open.jlpay.sdk.java.model.openmerch.device.request;

import com.fasterxml.jackson.databind.PropertyNamingStrategies;
import com.fasterxml.jackson.databind.annotation.JsonNaming;
import com.jlpay.open.jlpay.sdk.java.model.OrgBaseReq;
import lombok.*;

/**
 * 换机
 *
 * @author dengwenning
 * @since 2024/4/24
 */
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
@JsonNaming(PropertyNamingStrategies.SnakeCaseStrategy.class)
public class DeviceChangeRequest extends OrgBaseReq {

    /**
     * 商户号
     */
    private String merchNo;

    /**
     * 终端号
     */
    private String termNo;

    /**
     * 新机身号
     */
    private String newDeviceNo;

    @Override
    public String path() {
        return "/open/merch/access/device/change";
    }
}
